package com.hzdl.secondweektest.test3;

public class Empolyee extends Role{
    private double salary;
    public static int ID;

    public Empolyee() {
        super();
    }

    public Empolyee(String name, int age, String sex, double salary) {
        super(name, age, sex);
        this.salary = salary;
    }

    @Override
    public void work() {
        System.out.println("正在工作中...，不要打扰我。");
    }
    public final void sing(){
        System.out.println("工作之余唱唱歌");
    }
}
